/*
 * @Author: 李楚胜 lics@epsoft.com.cn
 * @Date: 2025-02-12 10:29:53
 * @LastEditors: 李楚胜 lics@epsoft.com.cn
 * @LastEditTime: 2025-02-12 16:41:11
 * @FilePath: \A0001\src\router\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/home/index.vue'
import Login from '../views/login/index.vue'

const routes = [
    {
        path: '/login',
        name: 'Login',
        component: Login
    }, {
        path: '/home',
        name: 'Home',
        component: Home
    },
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router
